<?php
	
	/*
	 * 友情链接管理
	 */
	
		class MsgAction extends ExtAction{

            protected $_config = array(
                'cid'=>         5,
                'class'=>       __CLASS__,
                'map'=>         array(),
                'title'=>       "留言",
                'pagesize'=>    '20',
                'sortable'=>    false,
                'hidden'=>      array(),
                'sortField'=>   "",
                'filterable'=>  false,
                'filterField'=>"",
                'filterHtml'=>  "",
                'addable'=>     true,
                'deleteable'=>  true,
                'search'=>      array(
                    'like'=>    array('name'=>'姓名','id'=>'留言号','content'=>'留言内容'),
                    'orderby'=> array('id_desc'=>'ID 降序','id_asc'=>'ID 升序','sex_desc'=>'性别 降序','sex_asc'=>'性别 升序','check_desc'=>'审核 在前','check_asc'=>'未审核 在前')
                )
            );



            public static function  getToolbar($param){
                return "";
            }


            public static function  getHandle($arr){
                return '';
            }


			public function show(){
				parent::show();
			}


            public function add(){
                $this->config['returnUrl']['add'] = "__GROUP__/msg/show";
                parent::add();
            }


            protected function addMoreForm($form){

                return;
            }


            public function edit(){
                $this->config['returnUrl']['jump'] = "__GROUP__/msg/show";
                $this->config['returnUrl']['edit'] = "__GROUP__/msg/show";

                parent::edit();
            }


            protected function editMoreForm($form){

                return;
            }




		}






?>